home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 492 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.1 KB

  1. Date: Mon, 13 Sep 93 10:41:04 -0700
  2. From: ersmith@netcom.com (Eric R. Smith)
  3. Message-Id: <9309131741.AA10543@netcom.netcom.com>
  4. To: clausb@hpbeo79.bbn.hp.com, mint@terminator.rs.itd.umich.edu
  5. Subject: Re: mint-aware HD driver
  6.  
  7. >> I don't think it's strictly necessary to re-implement GEMDOS right now -
  8. >> simply putting something like
  9. >>     Psemaphore(2,'GEMD',-1L) ;  /* request GEMDOS Semaphore */
  10. >> /before/ and something like
  11. >>     Psemaphore(3,'GEMD',-1L) ;  /* release GEMDOS Semaphore */
  12. >> /after/ any GEMDOS calls in tosfs.c should protect GEMDOS from any
  13. >> reentrant calls.
  14.  
  15. >One thing that I am not sure about is how Pexec() fits into this
  16. >scheme.  MiNT calls the "native" Pexec(), and Pexec() itself
  17. >probably uses GEMDOS file system functions to load a file.  If
  18.  
  19. Actually, MiNT doesn't call the native Pexec -- any Pexec calls
  20. in MiNT occur after MiNT has grabbed the trap #1 vector. So
  21. that's not a problem.
  22.  
  23. However, there are some GEMDOS calls outside of tosfs.c that we
  24. will have to watch out for; for example, there are Tgettime()
  25. and Tgetdate() calls in timeout.c and perhaps in some other
  26. places.
  27.  
  28.